.class Lcom/estrongs/android/view/CompressGridViewWrapper$g;
.super Ljava/lang/Object;
.source "CompressGridViewWrapper.java"

# interfaces
.implements Lcom/estrongs/android/pop/app/compress/a$f;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Ljava/util/List;Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Ljava/util/List;

.field final synthetic c:Z

.field final synthetic d:Lcom/estrongs/android/view/CompressGridViewWrapper;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/CompressGridViewWrapper;Ljava/lang/String;Ljava/util/List;Z)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iput-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->a:Ljava/lang/String;

    iput-object p3, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->b:Ljava/util/List;

    iput-boolean p4, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->c:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/estrongs/android/pop/app/compress/a;Lcom/estrongs/android/pop/app/compress/a$g;)V
    .locals 2

    if-eqz p2, :cond_2

    .line 1
    new-instance p1, Ljava/io/File;

    iget-object v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->a:Ljava/lang/String;

    invoke-direct {p1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-boolean v1, p2, Lcom/estrongs/android/pop/app/compress/a$g;->c:Z

    invoke-static {v0, v1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Z)Z

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget v1, p2, Lcom/estrongs/android/pop/app/compress/a$g;->a:I

    invoke-static {v0, v1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;I)I

    const/4 v0, 0x3

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {v1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->i(Lcom/estrongs/android/view/CompressGridViewWrapper;)I

    move-result v1

    if-ne v0, v1, :cond_0

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p2, p2, Lcom/estrongs/android/pop/app/compress/a$g;->b:Ljava/lang/String;

    invoke-static {p1, p2}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_0

    :cond_0
    const/4 p2, 0x1

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {v0}, Lcom/estrongs/android/view/CompressGridViewWrapper;->i(Lcom/estrongs/android/view/CompressGridViewWrapper;)I

    move-result v0

    if-ne p2, v0, :cond_1

    .line 7
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {p1}, Ljava/io/File;->getParent()Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_0

    .line 8
    :cond_1
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Ljava/io/File;->getParent()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "/"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->a:Ljava/lang/String;

    .line 9
    invoke-static {p1}, Lcom/estrongs/fs/util/f;->k(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 10
    invoke-static {p2, p1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Ljava/lang/String;)Ljava/lang/String;

    .line 11
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->d:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->b:Ljava/util/List;

    iget-boolean v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$g;->c:Z

    invoke-static {p1, p2, v0}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Ljava/util/List;Z)V

    :cond_2
    return-void
.end method
